package com.bjqg.bjqg01.bjqg.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.bjqg.bjqg01.bjqg.R;
import com.bjqg.bjqg01.bjqg.bean.History;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by bjqg01 on 2018/1/18.
 */

public class PriceInQuiryDrawerAdapter extends BaseQuickAdapter<History,BaseViewHolder>{


    public PriceInQuiryDrawerAdapter(@LayoutRes int layoutResId, @Nullable List<History> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, History item) {
        helper.setText(R.id.drawer_text,item.getContent().toString());
    }
}
